package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.ProjectStatus;
import com.cloudfun.campusshare.common.constant.ProjectType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by Huqin on 2020/3/6
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "项目列表信息")
public class ProjectListVO {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("用户Id")
    private String userId;

    @ApiModelProperty("项目名称")
    private String name;

    @ApiModelProperty("项目类型")
    private ProjectType type;

    @ApiModelProperty("学校id")
    private String schoolId;

    @ApiModelProperty("所属学校")
    private String belongSchool;

    @ApiModelProperty("接入设备数量")
    private Integer deviceCount;

    @ApiModelProperty("中标时间")
    private String winningBidTime;

    @ApiModelProperty("项目到期时间")
    private String projectDueTime;

    @ApiModelProperty("项目状态")
    private ProjectStatus status;

    @ApiModelProperty("项目运营收益")
    private String totalAmount;

}
